home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr25
/
gnuplsrc.zip
/
GNUSHELL.RC
< prev
next >
Wrap
Text File
|
1993-03-21
|
7KB
|
171 lines
#include <os2.h>
#include "dispdefs.h"
ICON 1 "gnu2.ico"
MENU 1
BEGIN
SUBMENU "~Options" , IDM_FILE
BEGIN
MENUITEM "~Print..." , IDM_PRINT
MENUITEM "~Fonts...", IDM_FONTS
MENUITEM "~Colours", IDM_COLOURS,,MIA_CHECKED
MENUITEM "~Lines", IDM_LINES
END
SUBMENU "~Help", 1
BEGIN
MENUITEM "~Help for Help...", IDM_HELPFORHELP
MENUITEM "~Extended Help...", IDM_EXTENDEDHELP
MENUITEM "~Keys Help...", IDM_KEYSHELP
MENUITEM "Help ~index...", IDM_HELPINDEX
MENUITEM SEPARATOR
MENUITEM "A~bout...", IDM_ABOUT
END
END
ACCELTABLE 1
BEGIN
"^f", IDM_FILE
END
DLGTEMPLATE ID_ABOUT LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "", ID_ABOUT, 22, 17, 144, 75, FS_DLGBORDER | WS_CLIPSIBLINGS |
WS_SAVEBITS
BEGIN
CONTROL "Gnushell", 65535, 8, 65, 128, 8, WC_STATIC, SS_TEXT |
DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "Gnuplot display for OS/2", 65535, 8, 50, 128, 8, WC_STATIC,
SS_TEXT | DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "Version 1.0", 65535, 8, 35, 128, 8, WC_STATIC, SS_TEXT |
DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "OK", DID_OK, 56, 10, 32, 14, WC_BUTTON, BS_PUSHBUTTON |
BS_DEFAULT | WS_GROUP | WS_TABSTOP | WS_VISIBLE
END
END
DLGTEMPLATE ID_QPRINT LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "Gnushell: printer setup", ID_QPRINT, 107, 45, 220, 151, FS_NOBYTEALIGN |
FS_DLGBORDER | WS_VISIBLE | WS_CLIPSIBLINGS | WS_SAVEBITS,
FCF_TITLEBAR
BEGIN
CONTROL "", IDD_QPRYFRAC, 168, 63, 39, 8, WC_ENTRYFIELD, ES_LEFT |
ES_MARGIN | WS_TABSTOP | WS_VISIBLE
CONTROL "", IDD_QPRXFRAC, 168, 47, 39, 8, WC_ENTRYFIELD, ES_LEFT |
ES_MARGIN | WS_TABSTOP | WS_VISIBLE
CONTROL "OK", DID_OK, 6, 5, 38, 13, WC_BUTTON, BS_PUSHBUTTON |
BS_DEFAULT | WS_TABSTOP | WS_VISIBLE
CONTROL "Cancel", DID_CANCEL, 52, 5, 38, 13, WC_BUTTON, BS_PUSHBUTTON |
WS_TABSTOP | WS_VISIBLE
CONTROL "Help", DID_HELP, 173, 5, 38, 13, WC_BUTTON, BS_PUSHBUTTON |
BS_HELP | WS_TABSTOP | WS_VISIBLE
CONTROL "Horizontal size:", 65535, 8, 47, 70, 8, WC_STATIC, SS_TEXT |
DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "Vertical size:", 65535, 8, 63, 66, 8, WC_STATIC, SS_TEXT |
DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "Text", IDD_QPRXSIZE, 83, 47, 36, 12, WC_ENTRYFIELD, ES_RIGHT |
ES_READONLY | WS_TABSTOP | WS_VISIBLE
CONTROL "Text", IDD_QPRYSIZE, 83, 63, 36, 12, WC_ENTRYFIELD, ES_RIGHT |
ES_READONLY | WS_TABSTOP | WS_VISIBLE
CONTROL "Enter fraction of indicated size:", 65535, 9, 79, 143, 8,
WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "cm", 65535, 131, 63, 13, 8, WC_STATIC, SS_TEXT | DT_LEFT |
DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "cm", 65535, 131, 47, 13, 8, WC_STATIC, SS_TEXT | DT_LEFT |
DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "Set printer...", IDD_QPRSETPR, 98, 5, 68, 13, WC_BUTTON,
BS_PUSHBUTTON | WS_TABSTOP | WS_VISIBLE
CONTROL "Set page..", IDD_QPRTRACK, 8, 130, 56, 13, WC_BUTTON,
BS_PUSHBUTTON | WS_TABSTOP | WS_VISIBLE
CONTROL "Text", IDD_QPRBOX, 84, 96, 98, 49, WC_STATIC, SS_FGNDRECT |
WS_GROUP | WS_VISIBLE
CONTROL "", IDD_QPRFRAME, 87, 108, 71, 34, WC_STATIC, SS_HALFTONERECT |
WS_GROUP | WS_VISIBLE
CONTROL "Filename:", 65535, 8, 31, 50, 8, WC_STATIC, SS_TEXT |
DT_LEFT | DT_TOP | DT_HALFTONE | WS_GROUP | WS_VISIBLE
CONTROL "", IDD_QPRNAME, 63, 31, 75, 8, WC_ENTRYFIELD, ES_LEFT |
ES_MARGIN | WS_TABSTOP | WS_VISIBLE
END
END
DLGTEMPLATE ID_PRINT LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "Gnushell: Print", ID_PRINT, 104, 45, 220, 122, FS_NOBYTEALIGN |
FS_DLGBORDER | WS_VISIBLE | WS_CLIPSIBLINGS | WS_SAVEBITS,
FCF_TITLEBAR
BEGIN
CONTROL "OK", DID_OK, 6, 5, 38, 13, WC_BUTTON, BS_PUSHBUTTON |
BS_DEFAULT | WS_TABSTOP | WS_VISIBLE
CONTROL "Cancel", DID_CANCEL, 52, 5, 38, 13, WC_BUTTON, BS_PUSHBUTTON |
WS_TABSTOP | WS_VISIBLE
CONTROL "Help", DID_HELP, 176, 5, 38, 13, WC_BUTTON, BS_PUSHBUTTON |
BS_HELP | WS_TABSTOP | WS_VISIBLE
CONTROL "Setup printer...", IDD_PRINTSETUP, 98, 5, 71, 13, WC_BUTTON,
BS_PUSHBUTTON | WS_TABSTOP | WS_VISIBLE
CONTROL "Select object to print", 65535, 11, 49, 197, 61, WC_STATIC,
SS_GROUPBOX | WS_VISIBLE
CONTROL "Viewed page", IDD_PRINTPIC, 41, 86, 112, 10, WC_BUTTON,
BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP | WS_VISIBLE
CONTROL "Print to file named:", IDD_PRINTQNAME, 11, 31, 89, 8,
WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_HALFTONE | WS_GROUP |
WS_VISIBLE
CONTROL "", IDD_QPRNAME, 108, 31, 99, 8, WC_ENTRYFIELD, ES_LEFT |
ES_MARGIN | WS_TABSTOP | WS_VISIBLE
END
END
DLGTEMPLATE IDD_FONTS LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "", IDD_FONTS, 47, 44, 253, 140, FS_NOBYTEALIGN | FS_DLGBORDER |
WS_VISIBLE | WS_CLIPSIBLINGS | WS_SAVEBITS
BEGIN
CONTROL "OK", DID_OK, 9, 4, 38, 13, WC_BUTTON, BS_PUSHBUTTON |
BS_DEFAULT | WS_TABSTOP | WS_VISIBLE
CONTROL "Cancel", DID_CANCEL, 52, 4, 38, 13, WC_BUTTON, BS_PUSHBUTTON |
WS_TABSTOP | WS_VISIBLE
CONTROL "", IDD_HLIST, 8, 53, 241, 79, WC_LISTBOX, LS_HORZSCROLL |
WS_TABSTOP | WS_VISIBLE
CONTROL "Size:", 65535, 11, 33, 28, 8, WC_STATIC, SS_TEXT | DT_LEFT |
DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "", IDD_FONTSIZE, 45, 33, 23, 8, WC_ENTRYFIELD, ES_LEFT |
ES_MARGIN | WS_TABSTOP | WS_VISIBLE
CONTROL "Sample:", 65535, 84, 33, 35, 8, WC_STATIC, SS_TEXT | DT_LEFT |
DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "AbBbCcDdEe12345", IDD_FONTEX, 128, 29, 114, 17, WC_ENTRYFIELD,
ES_LEFT | ES_MARGIN | WS_TABSTOP | WS_VISIBLE
END
END
HELPSUBTABLE 1
BEGIN
HELPSUBITEM IDH_EXTENDED, IDH_EXTENDED
HELPSUBITEM IDM_PRINT ,IDM_PRINT
HELPSUBITEM IDM_FONTS ,IDM_FONTS
HELPSUBITEM IDM_FILE ,IDM_FILE
HELPSUBITEM IDM_ABOUT ,IDM_ABOUT
HELPSUBITEM IDM_COLOURS ,IDM_COLOURS
HELPSUBITEM IDM_LINES ,IDM_LINES
END
HELPSUBTABLE ID_PRINT
BEGIN
HELPSUBITEM ID_PRINT, ID_PRINT
END
HELPSUBTABLE ID_QPRINT
BEGIN
HELPSUBITEM ID_QPRINT, ID_QPRINT
END
HELPSUBTABLE IDD_FONTS
BEGIN
HELPSUBITEM IDD_FONTS, IDD_FONTS
END
HELPTABLE 1
BEGIN
HELPITEM 1, 1, IDH_EXTENDED
HELPITEM ID_QPRINT, ID_QPRINT, ID_QPRINT
HELPITEM ID_PRINT, ID_PRINT, ID_PRINT
HELPITEM IDD_FONTS, IDD_FONTS, IDD_FONTS
END